package sortTest;

import java.util.ArrayList;
import java.util.List;

public class test {
    public static void main(String[] args) {
        List<Integer> list = new ArrayList<>();

        list.add(10);
        list.add(1000);

        System.out.println(list.contains(10));
        System.out.println(list.contains(1000));
    }
}
